package com.zhs.base.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 高德
 * @author Java架构师之旅
 * @version 1.0
 * @date 2022/8/16 17:06
 */
@Data
@ConfigurationProperties(prefix = "map.amap")
public class AMapProperties extends BaseProperties{
    /**
     * 高德API 使用 的 key
     */
    private String aMapKey;
    /**
     * 高德API 地址编码URL
     */
    private String aMapGeoUrl = "https://restapi.amap.com/v3/geocode/geo?address=";

    /**
     * 高德API 逆地址编码URL
     */
    private String aMapReGeoUrl = "https://restapi.amap.com/v3/geocode/regeo?location=";

}
